package com.demo.entity;


import java.io.Serializable;

public class Department implements Serializable {

  //这个Course对象有三个私有属性，要让别人访问他只能提供方法把属性传出去
  //get是获取这个属性的值，set是设置
  private long depId;
  private String depName;

  public long getDepId() {
    return depId;
  }

  public void setDepId(long depId) {
    this.depId = depId;
  }

  public String getDepName() {
    return depName;
  }

  public void setDepName(String depName) {
    this.depName = depName;
  }
}
